package com.liu.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * 后台管理员表(TAdmin)实体类
 *
 * @author makejava
 * @since 2022-11-04 17:49:40
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class TAdmin implements Serializable {
    private static final long serialVersionUID = -97301340670359066L;
    
    private Long id;
    
    private String username;
    
    private String password;
    
    private String avatar;
    /**
     * 创建时间
     */
    private Date createTime;
    /**
     * 帐号启用状态：0->禁用；1->启用
     */
    private Integer status;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

}

